package com.zzq.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@ApiModel("用户类")
@Data
@Accessors(chain = true)
public class User {
    @ApiModelProperty("序号")
    private int id;
    @ApiModelProperty("昵称")
    private String nickName;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("用户头像地址")
    private String avatar;
    @ApiModelProperty("用户介绍")
    private String intro;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("是否是管理员")
    private int isSuperuser;
    @ApiModelProperty("浏览量")
    private int readCount;
}
